package main

import "fmt"

type Student struct {
	id   int
	name string
	age  int
}

func (s Student) PrintShow() {
	fmt.Println(s)
}
func (s *Student) EditInfo() {
	(*s).id = 1
	s.name = "zhong"
	s.age = 123
}
func main() {
	var stu Student
	stu.EditInfo()
	stu.PrintShow()
}
